// ApplicationAccounts.cpp : implementation of the CApplicationAccounts class
//

#include "stdafx.h"
#include "ApplicationAccounts.h"

CApplicationAccounts::CApplicationAccounts()
{
	// TODO: add member initialization code here
}
CApplicationAccounts::~CApplicationAccounts()
{
	m_accounts.Destruction();
}

GString CApplicationAccounts::GetApplicationName() const
{
	return m_applicationName;
}
void CApplicationAccounts::SetApplicationName(GString nApplicationName)
{
	m_applicationName=nApplicationName;
}
GList * CApplicationAccounts::GetAccounts()
{
	return &m_accounts;
}

void CApplicationAccounts::MapXMLTagsToMembers()
{
	MapAttribute(&m_applicationName,"applicationName");
	MapMember(&m_accounts,CAccount::GetStaticTag(),"Accounts");
}
IMPLEMENT_FACTORY(CApplicationAccounts,ApplicationAccounts);
